package com.haiqi.common.persistence.entity;

import java.util.Date;

public class AccidentReport extends BaseSearchKey{
    private Integer id;

    private Date dateReport;

    private String accidentType;

    private String location;

    private Date accidentTime;

    private String progressEvents;

    private String dealResult;

    private String reportBy;

    private CrewUser user;

    private ShipInfo ship;

    private String dateReportStr;  //冗余字段

    private String accidentTimeStr; //冗余字段



    public AccidentReport() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getDateReport() {
        return dateReport;
    }

    public void setDateReport(Date dateReport) {
        this.dateReport = dateReport;
    }

    public String getAccidentType() {
        return accidentType;
    }

    public void setAccidentType(String accidentType) {
        this.accidentType = accidentType == null ? null : accidentType.trim();
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    public Date getAccidentTime() {
        return accidentTime;
    }

    public void setAccidentTime(Date accidentTime) {
        this.accidentTime = accidentTime;
    }

    public String getProgressEvents() {
        return progressEvents;
    }

    public void setProgressEvents(String progressEvents) {
        this.progressEvents = progressEvents == null ? null : progressEvents.trim();
    }

    public String getDealResult() {
        return dealResult;
    }

    public void setDealResult(String dealResult) {
        this.dealResult = dealResult == null ? null : dealResult.trim();
    }

    public String getReportBy() {
        return reportBy;
    }

    public void setReportBy(String reportBy) {
        this.reportBy = reportBy == null ? null : reportBy.trim();
    }

    public ShipInfo getShip() {
        return ship;
    }

    public void setShip(ShipInfo ship) {
        this.ship = ship;
    }

    public CrewUser getUser() {
        return user;
    }

    public void setUser(CrewUser user) {
        this.user = user;
    }


    public String getDateReportStr() {
        return dateReportStr;
    }

    public void setDateReportStr(String dateReportStr) {
        this.dateReportStr = dateReportStr;
    }

    public String getAccidentTimeStr() {
        return accidentTimeStr;
    }

    public void setAccidentTimeStr(String accidentTimeStr) {
        this.accidentTimeStr = accidentTimeStr;
    }
}